package edu.biwu.controller;

import edu.biwu.vo.Form;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/form")
public class FormController {

    @PostMapping("/submitForm.do")
    public String submitForm(Form form){
        System.out.println(form);
        return "success";
    }
}
